﻿using Blm.RabbitMQ.Models;
using System;

namespace VisionCloud.Domain.DtoModel.RabbitMq
{
    [RabbitMQOption("visionsurface.wxmessage.ex", "visionsurface.wxmessage.push.rk", null, RabbitMQConnectPoolName.CloudServerHost, StorageWayEm.OnlyStorage)]
    public class PushWxMessageDto
    {
        /// <summary>
        /// 任务Id
        /// </summary>
        public Guid TaskId { get; set; }

        /// <summary>
        /// 计算状态
        /// </summary>
        public ComputeStatus Status { get; set; }
    }

    public enum ComputeStatus
    {
        未计算 = 1,
        计算成功 = 2,
        计算失败 = 3,
        报告生成成功 = 4,
        报告生成失败 = 5
    }
}
